package my.food.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ling
 * Date: 2024-05-16
 * Time: 20:35
 */
@Getter
@Setter
@TableName("comment")
public class Comment implements Serializable {

    private  static  final  long seriaVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private String commentContent;

    private Integer stars;


}
